/**
 * @description
 * @author XIAJIUJIANG239
 * @createtime 2018/2/5
 */

function Component(props, context, key, ref) {
  this.props = props
  this.context = context
  this.key = key
  this.ref = ref
}

Component.prototype.setState = function (state, callback) {
  const { mayInst } = this

  var liftState = mayInst.liftState

  if (callback) {
    callback = callback.bind(this)
    mayQueue.callbackQueue.push(callback)
  }

  if (mayInst.mergeStateQueue) {
    mayInst.mergeStateQueue.push(state)
  } else {
    mayInst.mergeStateQueue = [ state ]
  }


}

export default Component